projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fb6c36
)
(Fset_match_data): Use CHECK_LIST.
author
Kim F. Storm
<storm@cua.dk>
Wed, 12 Jul 2006 13:20:32 +0000
(13:20 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Wed, 12 Jul 2006 13:20:32 +0000
(13:20 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 99db7f184fc22673ea07bc4773dd730d03585ce9..fe12409100974fb898602c16d3c25af8290e7332 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-2874,8
+2874,7
@@
If optional arg RESEAT is non-nil, make markers on LIST point nowhere. */)
if (running_asynch_code)
save_search_regs ();
- if (!CONSP (list) && !NILP (list))
- list = wrong_type_argument (Qconsp, list);
+ CHECK_LIST (list);
/* Unless we find a marker with a buffer or an explicit buffer
in LIST, assume that this match data came from a string. */